package com.xintonghua.bussiness.bean;

import android.os.Parcel;
import android.os.Parcelable;


public class Traces implements Parcelable {
    private String location;
    private String time; //接收时间
    private String context; //接收站点和描述

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.location);
        dest.writeString(this.time);
        dest.writeString(this.context);
    }

    public Traces() {
    }

    protected Traces(Parcel in) {
        this.location = in.readString();
        this.time = in.readString();
        this.context = in.readString();
    }

    public static final Creator<Traces> CREATOR = new Creator<Traces>() {
        @Override
        public Traces createFromParcel(Parcel source) {
            return new Traces(source);
        }

        @Override
        public Traces[] newArray(int size) {
            return new Traces[size];
        }
    };
}
